Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(master): Release 0.48.0 #7676

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 30, 2024

πŸ€– I have created a release beep boop

aztec-package: 0.48.0

0.48.0 (2024-08-12)

⚠ BREAKING CHANGES

  • rename fee juice (#7793)

Features

Bug Fixes

Miscellaneous

barretenberg.js: 0.48.0

0.48.0 (2024-08-12)

Features

Bug Fixes

aztec-packages: 0.48.0

0.48.0 (2024-08-12)

⚠ BREAKING CHANGES

Features

Bug Fixes

Miscellaneous

barretenberg: 0.48.0

0.48.0 (2024-08-12)

Features

Bug Fixes

Miscellaneous


This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch 3 times, most recently from e486ac3 to 74629bd Compare July 30, 2024 16:26
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 30, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:transfer_public): 44.3 (+42%)
  • protocol_circuit_witness_generation_time_in_ms (public-kernel-tail): 30,896 (+19%)
  • protocol_circuit_proving_time_in_ms (base-rollup): 98,113 (+17%)
  • protocol_circuit_proving_time_in_ms (public-kernel-setup): 17,527 (+17%)
  • protocol_circuit_proving_time_in_ms (public-kernel-app-logic): 10,023 (+16%)
  • protocol_circuit_proving_time_in_ms (public-kernel-teardown): 19,034 (+19%)
  • protocol_circuit_proving_time_in_ms (root-rollup): 30,953 (+26%)
  • app_circuit_proving_time_in_ms (Token:transfer_public (avm)): 10,794 (+17%)
Detailed results

All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.

This benchmark source data is available in JSON format on S3 here.

Proof generation

Each column represents the number of threads used in proof generation.

Metric 1 threads 4 threads 16 threads 32 threads 64 threads
proof_construction_time_sha256_ms 5,764 1,556 696 763 (+1%) 765
proof_construction_time_sha256_30_ms 11,851 3,177 1,406 (-1%) 1,457 (+1%) 1,470
proof_construction_time_sha256_100_ms 44,092 12,471 (+1%) 5,640 5,561 (-2%) 5,480
proof_construction_time_poseidon_hash_ms 79.0 35.0 (+3%) 34.0 58.0 (-2%) 86.0 (-2%)
proof_construction_time_poseidon_hash_30_ms 1,533 420 201 221 (-2%) 268 (-4%)
proof_construction_time_poseidon_hash_100_ms 5,670 1,552 (+1%) 679 721 (-2%) 741 (-1%)

L2 block published to L1

Each column represents the number of txs on an L2 block published to L1.

Metric 4 txs 8 txs 16 txs
l1_rollup_calldata_size_in_bytes 4,324 7,844 14,852
l1_rollup_calldata_gas 49,636 92,470 177,488
l1_rollup_execution_gas 1,294,299 2,042,101 3,869,158
l2_block_processing_time_in_ms 255 (-2%) 441 (-3%) 825 (+1%)
l2_block_building_time_in_ms 9,624 (-1%) 18,882 37,497
l2_block_rollup_simulation_time_in_ms 9,623 (-1%) 18,882 37,497
l2_block_public_tx_process_time_in_ms 8,000 (-1%) 17,033 35,502 (-1%)

L2 chain processing

Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric 3 blocks 5 blocks
node_history_sync_time_in_ms 2,934 (+2%) 3,812 (-3%)
node_database_size_in_bytes 12,742,736 16,916,560
pxe_database_size_in_bytes 16,254 26,813

Circuits stats

Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit simulation_time_in_ms witness_generation_time_in_ms input_size_in_bytes output_size_in_bytes proving_time_in_ms proof_size_in_bytes num_public_inputs size_in_gates
private-kernel-init 102 (+2%) 391 (-7%) 21,846 44,858 N/A N/A N/A N/A
private-kernel-inner 169 701 (-5%) 72,545 45,005 N/A N/A N/A N/A
private-kernel-tail 671 753 (-3%) 52,710 52,256 N/A N/A N/A N/A
base-parity 5.99 (-3%) 607 (-5%) 160 96.0 1,139 (+6%) 13,188 19.0 65,536
root-parity 108 (-2%) 129 (+14%) 69,084 96.0 30,146 (+11%) 13,188 19.0 4,194,304
base-rollup 2,993 5,672 187,824 664 ⚠️ 98,113 (+17%) 14,020 45.0 16,777,216
root-rollup 96.9 (-1%) 126 (+16%) 54,525 716 ⚠️ 30,953 (+26%) 13,988 44.0 4,194,304
public-kernel-setup 91.8 (-1%) 2,817 (+4%) 103,782 71,222 ⚠️ 17,527 (+17%) 129,220 3,645 2,097,152
public-kernel-app-logic 106 (-1%) 4,164 (+3%) 103,598 71,222 ⚠️ 10,023 (+16%) 129,220 3,645 1,048,576
public-kernel-tail 569 (-1%) ⚠️ 30,896 (+19%) 409,190 16,414 103,412 (+12%) 34,308 679 16,777,216
private-kernel-reset-tiny 186 (+3%) 829 (-6%) 68,621 44,750 N/A N/A N/A N/A
private-kernel-tail-to-public 2,701 1,535 (-3%) 931,564 1,697 N/A N/A N/A N/A
public-kernel-teardown 87.3 (-1%) 4,190 (+1%) 104,005 71,222 ⚠️ 19,034 (+19%) 129,220 3,645 2,097,152
merge-rollup 59.9 (-2%) N/A 35,742 664 N/A N/A N/A N/A
undefined N/A N/A N/A N/A 68,639 (+7%) N/A N/A N/A

Stats on running time collected for app circuits

Function input_size_in_bytes output_size_in_bytes witness_generation_time_in_ms proof_size_in_bytes proving_time_in_ms
ContractClassRegisterer:register 1,344 11,731 343 (-1%) N/A N/A
ContractInstanceDeployer:deploy 1,408 11,731 18.1 (-1%) N/A N/A
MultiCallEntrypoint:entrypoint 1,920 11,731 478 N/A N/A
FeeJuice:deploy 1,376 11,731 392 N/A N/A
SchnorrAccount:constructor 1,312 11,731 177 N/A N/A
SchnorrAccount:entrypoint 2,304 11,731 532 (-1%) N/A N/A
Token:privately_mint_private_note 1,280 11,731 216 (-2%) N/A N/A
FPC:fee_entrypoint_public 1,344 11,731 23.5 N/A N/A
Token:transfer 1,312 11,731 406 (-1%) N/A N/A
AuthRegistry:set_authorized (avm) 18,491 N/A N/A 146,400 2,158 (-5%)
FPC:prepare_fee (avm) 22,958 N/A N/A 146,464 2,522 (-4%)
Token:transfer_public (avm) 61,614 N/A N/A 146,464 ⚠️ 10,794 (+17%)
AuthRegistry:consume (avm) 41,719 N/A N/A 146,432 5,077 (+4%)
FPC:pay_refund (avm) 26,227 N/A N/A 146,432 5,035 (+6%)
Benchmarking:create_note 1,344 11,731 170 (+1%) N/A N/A
SchnorrAccount:verify_private_authwit 1,280 11,731 27.7 (+1%) N/A N/A
Token:unshield 1,376 11,731 640 (+1%) N/A N/A
FPC:fee_entrypoint_private 1,376 11,731 837 (+1%) N/A N/A

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance 95.8 (+2%) 8,139
FeeJuice:set_portal 10.3 (+5%) 2,362
Token:constructor 126 31,107
FPC:constructor 95.7 (-8%) 22,380
FeeJuice:mint_public 84.9 (+3%) 6,150
Token:mint_public 95.0 11,720
Token:assert_minter_and_mint 79.7 (-11%) 8,028
AuthRegistry:set_authorized 7.48 (-8%) 4,537
FPC:prepare_fee 284 8,812
Token:transfer_public ⚠️ 44.3 (+42%) 47,374
FPC:pay_refund 63.3 (+4%) 12,114
Benchmarking:increment_balance 1,025 7,450
Token:_increase_public_balance 11.2 (-2%) 8,960
FPC:pay_refund_with_shielded_rebate 139 (+1%) 12,663

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.167 (+6%)

Tree insertion stats

The duration to insert a fixed batch of leaves into each tree type.

Metric 1 leaves 16 leaves 64 leaves 128 leaves 256 leaves 512 leaves 1024 leaves
batch_insert_into_append_only_tree_16_depth_ms 2.15 (-2%) 3.87 (-1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.8 31.7 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.111 (-3%) 0.109 (-2%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 11.5 (+1%) 17.9 30.3 (-2%) 59.2 (-4%) 116 (+3%)
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 95.9 159 287 543 1,055
batch_insert_into_append_only_tree_32_depth_hash_ms N/A N/A 0.110 0.104 0.0986 (-2%) 0.102 (-3%) 0.104 (+2%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.2 (-2%) 25.4 (-1%) 43.5 (-2%) 82.6 (-3%) 160 (-1%)
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 109 207 355 691 1,363
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.107 (-4%) 0.102 (-2%) 0.0998 (-6%) 0.103 (-3%) 0.100 (-3%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.3 (-1%) N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A 132 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A 0.105 (-2%) N/A N/A N/A N/A

Miscellaneous

Transaction sizes based on how many contract classes are registered in the tx.

Metric 0 registered classes 1 registered classes
tx_size_in_bytes 64,756 668,997

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from 1e2960b to 1b1bf27 Compare July 30, 2024 20:43
Copy link
Collaborator Author

@AztecBot AztecBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: 6ba3ee5 Previous: 71862ba Ratio
nativeconstruct_proof_ultrahonk_power_of_2/20 4755.990631999993 ms/iter 4392.709174000003 ms/iter 1.08

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ludamad @codygunton

@AztecBot AztecBot force-pushed the release-please--branches--master branch 22 times, most recently from 9b8d203 to cf28c8e Compare August 1, 2024 16:00
@AztecBot AztecBot force-pushed the release-please--branches--master branch 18 times, most recently from 22740ac to 3178d85 Compare August 12, 2024 18:34
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 3178d85 to 2d5befc Compare August 12, 2024 21:42
@rahul-kothari rahul-kothari enabled auto-merge (squash) August 12, 2024 21:50
@rahul-kothari rahul-kothari merged commit 39cf860 into master Aug 12, 2024
95 of 96 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch August 12, 2024 22:27
@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment